package cn.springmvc.dao;

import cn.springmvc.model.Page;
import cn.springmvc.model.User;


import java.util.List;

/**
 * Created by user on 2015-07-16.
 */
public interface  UserDAO {

    public int insertUser(User user);
    public List<User> getUsers(Page page);
    public List<User> getAllUser();
    public long getAllUserCount();
}
